<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content"><?php echo $content_top; ?>
  <div class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
    <?php } ?>
  </div>
  <h1><?php echo $_['heading_title']; ?></h1>
  <?php if ($returns) { ?>
  <?php foreach ($returns as $return) { ?>
  <div class="return-list">
    <div class="return-id"><b><?php echo $_['text_return_id']; ?></b> #<?php echo $return['return_id']; ?></div>
    <div class="return-status"><b><?php echo $_['text_status']; ?></b> <?php echo $return['status']; ?></div>
    <div class="return-content">
      <div><b><?php echo $_['text_date_added']; ?></b> <?php echo v5_date_format($return['date_added']); ?><br />
        <b><?php echo $_['text_order_id']; ?></b> <?php echo $return['order_id']; ?></div>
      <div><b><?php echo $_['text_customer']; ?></b> <?php echo $return['firstname'] . ' ' . $return['lastname']; ?></div>
      <div class="return-info"><a href="<?php echo US('account/return/info', 'return_id=' . $return['return_id']); ?>"><img src="themes/default/image/info.png" alt="<?php echo $_['button_view']; ?>" title="<?php echo $_['button_view']; ?>" /></a></div>
    </div>
  </div>
  <?php } ?>
  <div class="pagination"><?php echo $pagination; ?></div>
  <?php } else { ?>
  <div class="content"><?php echo $_['text_empty']; ?></div>
  <?php } ?>
  <div class="buttons">
    <div class="right"><a href="<?php echo US('account/account'); ?>" class="button"><?php echo $_['button_continue']; ?></a></div>
  </div>
  <?php echo $content_bottom; ?></div>
<?php echo $footer; ?>